/* ************************************************************************
 * 
 * Unless otherwise noted, the files which comprise the Structural Health
 * Monitoring software toolsuite (SHM) are subject to the following
 * restrictions.
 * 
 * The SHM software is NOT in the public domain.  However, it is freely
 * available without fee for education, research, and non-profit purposes.
 * By obtaining copies of this and other files that comprise the SHM
 * software, you, the Licensee, agree to abide by the following conditions
 * and understandings with respect to the copyrighted software:
 * 
 * 1.  The software is copyrighted in the name of the Board of Trustees
 *     of the University of Illinois (UI), and ownership of the software
 *     remains with the UI.
 * 
 * 2.  Permission to use, copy, and modify this software and its
 *     documentation for education, research, and non-profit purposes is
 *     hereby granted to the Licensee, provided that the copyright
 *     notice, the original author's names and unit identification, and
 *     this permission notice appear on all such copies, and that no
 *     charge be made for such copies.  Any entity desiring permission to
 *     incorporate this software into commercial products should contact:
 * 
 *          Professor Gul A. Agha                 agha@cs.uiuc.edu
 *          University of Illinois at Urbana-Champaign
 *          Department of Computer Science
 *          2104 Siebel Center
 *          201 North Goodwin Avenue
 *          Urbana, Illinois  61801
 *          USA
 * 
 * 3.  Licensee may not use the name, logo, or any other symbol of the UI
 *     nor the names of any of its employees nor any adaptation thereof
 *     in advertising or publicity pertaining to the software without
 *     specific prior written approval of the UI.
 * 
 * 4.  THE UI MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE
 *     SOFTWARE FOR ANY PURPOSE.  IT IS PROVIDED "AS IS" WITHOUT EXPRESS
 *     OR IMPLIED WARRANTY.
 * 
 * 5.  The UI shall not be liable for any damages suffered by Licensee
 *     from the use of this software.
 * 
 * 6.  The software was developed under agreements between the UI and the
 *     Federal Government which entitles the Government to certain
 *     rights.
 * 
 * ************************************************************************
 * 
 * Developed by:
 * 
 * Open Systems Lab
 * University of Illinois at Urbana-Champaign
 * Department of Computer Science
 * 201 North Goodwin Avenue
 * Urbana, IL  61801
 * http://osl.cs.uiuc.edu/
 * 
 * Smart Structures Technology Laboratory
 * University of Illinois at Urbana-Champaign
 * Department of Civil and Environmental Engineering
 * 205 North Matthews Avenue
 * Urbana, IL  61801
 * http://sstl.cee.uiuc.edu/
 * 
 * 
 * Send comments to: agha@cs.uiuc.edu
 * 
 * 
 * Copyright (c) 2008
 * The University of Illinois Board of Trustees.
 *      All Rights Reserved.
 * 
 * 
 * Principal Investigators:
 *      Gul A. Agha (agha@cs.uiuc.edu)
 *      B.F. Spencer, Jr. (bfs@uiuc.edu)
 * 
 * This work was supported in part by:
 * 
 * NSF grants CMS 06-00433 and CNS 05-09321 
 * NCASSR grant N00014-04-1-0562
 * DARPA grant F33615-01C-1907
 */
/**
 * @author: Jennifer Rice
 **/

#ifndef _FILTERS_H
#define _FILTERS_H

#include "filterCustom.h" /* must be included first - defines QFRegister */
#include "filter3ch_fs10Hz_fc4Hz.h"
#include "filter3ch_fs50Hz_fc20Hz.h"
#include "filter3ch_fs100Hz_fc40Hz.h"
#include "filter3ch_fs280Hz_fc70Hz.h"
#include "calibrationFilter.h"
#include "func_register_table.h"

#ifndef SHMA_CUSTOM_FILTER_RATE
#define SHMA_CUSTOM_FILTER_RATE (1000)
#endif

const int *QFImageRegisterTableSizeArray[] = {
                                            &QFImageRegisterTableSize50,
                                            &QFImageRegisterTableSize10,
                                            &QFImageRegisterTableSize100,
                                            &QFImageRegisterTableSize280,
                                            &QFImageRegisterTableSize };

const struct QFRegister *QFImageRegisterTableArray[] = {
                                            QFImageRegisterTable50,
                                            QFImageRegisterTable10,
                                            QFImageRegisterTable100,
                                            QFImageRegisterTable280,
                                            QFImageRegisterTable };

const uint32_t QFDelayArray[] = {
								80,//for 10Hz config
                                //76,//for 25Hz config
                                89,//for 50Hz config
                                78,//for 100Hz config
                                94,//for 280Hz config
                                //93 };//for 480kHz config
                                89 };//for 167kHz config

#endif
